﻿using System.Linq;
using AdventureWorks.Services.Enumerations;
using System.Collections;
using Xomega.Framework;

namespace AdventureWorks.Client.Objects
{
    public partial class EmployeeCriteria
    {
        protected override void OnInitialized()
        {
            //string[] firstNameOps = new string[] {
            //    Operators.Includes,
            //    Operators.Excludes,
            //    Operators.HasValue,
            //    Operators.HasNoValue
            //};
            //FirstNameOperatorProperty.FilterFunc = op => op != null && firstNameOps.Contains(op.Id);
            ZipcodeOperatorProperty.HasNullCheck = true;

            base.OnInitialized();

            IEnumerable e = StateProperty.ItemsProvider(null);
            foreach (object o in e)
            {
                Header h = o as Header;
            }
        }

    }
}
